<!DOCTYPE html>
<html lang="zh">
	<!--文章中的例子-->
	<!--http://www.webhek.com/post/about-script-tag.html-->
	<!--http://www.zcfy.cc/article/651-->
	<!--https://eager.io/blog/everything-I-know-about-the-script-tag/-->
	<noscript>
  Please use Internet Explorer 5.5 or above.
</noscript>
	<script>
		//		exploitInternetExplorer0Day();
	</script>

	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>title</title>
		<script>
			debugger;
			var i = 0;
			var t = setInterval(function() {
				console.log(document.currentScript);
				i = i + 1;
				if(i === 1000) {
					clearInterval(t);
				}
			}, 1);
			// document.head is available
			// document.body is not!
		</script>
		<script type="text/javascript">
			var myScript = document.createElement('script');
			myScript.textContent = 'alert("✋")';
			document.head.appendChild(myScript);
		</script>
		<script type="text/javascript">
			document.head.innerHTML += '<script>alert("✋")</script>';
		</script>
		<script>
			var x0 = 3;
		</script>
		<script>
			//			alert(x0);
			// Will alert '3';
		</script>
	</head>

	<body>
		<script>
			debugger;
			// document.head is available
			// document.body is available
		</script>
		<script type="text/javascript">
		</script>
		<script>
			var x1 = 3;
		</script>
		<script>
			//			alert(x1);
			// Will alert '3';
		</script>
		<!--<script src="//typekit.com/fj3j1j2.js"></script>-->

		<!-- This second script won’t execute until typekit has executed, or timed out -->
		<!--<script src="//my.site/script.js"></script>-->
	</body>

</html>